
package com.wechat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
//import org.springframework.web.portlet.bind.annotation.RenderMapping;


@ResponseBody
@Controller
public class HelloController {
    @RequestMapping(value = "/test",method = RequestMethod.GET)
    public String hello(HttpServletRequest request , HttpServletResponse response) {
        System.out.println("hello");
        return  "你好微信支付";
    }
}
